import request from '@/utils/request';

export async function login(body: API.LoginParams, options?: Record<string, any>) {
  return request('/auth/api/user', {
    method: 'POST',
    data: body,
    ...(options || {}),
  });
}
